package com.lxs.legou.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@SpringBootApplication
@EnableDiscoveryClient //注册发现
@EnableConfigServer//开启配置中心微服务工程
public class ConfigApplication {

    public static void main(String[] args) {

        SpringApplication.run(ConfigApplication.class , args);

    }

}
